package droid.mapViewer.utils;

public class Point {
	public static final int X_ID = 0;
	public static final int Y_ID = 1;
	
	private float x;
	private float y;
	
	public Point(float x, float y) {
		this.x=x;
		this.y=y;
	}

	public float getx() {
		return x;
	}
	
	public float gety() {
		return y;
	}
	
	public float getCoord(int id) {
		if (id==X_ID)
			return x;
		return y;
	}
}
